package com.cskaoyan.catmall.dao;

import com.cskaoyan.catmall.model.bo.AfterSaleBo;
import com.cskaoyan.catmall.model.bo.AfterSaleOrderInfoBo;
import com.cskaoyan.catmall.model.vo.AfterSaleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: 逍遥子
 * @Date: 2022/01/07/21:24
 * @Description:
 */
public interface AfterSaleDao {

    List<AfterSaleVo.ListDTO> selectAfterSale(AfterSaleBo afterSaleBo);

    int updateAfterSale(@Param("ids") List<Integer> ids, @Param("status") Integer status);

    int updateAfterSaleRefundInfo(AfterSaleOrderInfoBo afterSaleOrderInfoBo);

    int updateAfterSaleStatus(@Param("afterSaleOrderInfoBo") AfterSaleOrderInfoBo afterSaleOrderInfoBo, @Param("status") Integer status);

}
